package com.ruoyi.eduManage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作业提交记录对象 edu_homework_submit
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class EduHomeworkSubmit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 提交ID */
    private Long submitId;

    /** 学号 */
    @Excel(name = "学号")
    private String studentNo;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 班级编码 */
    //@Excel(name = "班级编码")
    private String classCode;

    /** 班级名称 */
    //@Excel(name = "班级名称")
    private String className;

    /** 提交状态 */
    @Excel(name = "提交状态")
    private String submitStatus;

    /** 作业内容 */
    @Excel(name = "作业内容")
    private String submitContent;

    /** 作业评语 */
    @Excel(name = "作业评语")
    private String submitComment;

    /** 等级 */
//    @Excel(name = "等级")
    private String grade;

    /** 红花数 */
    @Excel(name = "红花数")
    private Long redFlowerCount;

    /** 分数（由红花数计算） */
    @Excel(name = "分数")
    private Long score;

    /** 提交日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    //@Excel(name = "提交日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitDate;

    /** 应交日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "应交日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dueDate;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date submitDatetime;

    /** 磨耳朵时长 */
    @Excel(name = "磨耳朵时长")
    private String listenDuration;

    public void setSubmitId(Long submitId) 
    {
        this.submitId = submitId;
    }

    public Long getSubmitId() 
    {
        return submitId;
    }

    public void setStudentNo(String studentNo) 
    {
        this.studentNo = studentNo;
    }

    public String getStudentNo() 
    {
        return studentNo;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setClassCode(String classCode) 
    {
        this.classCode = classCode;
    }

    public String getClassCode() 
    {
        return classCode;
    }

    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }

    public void setSubmitStatus(String submitStatus) 
    {
        this.submitStatus = submitStatus;
    }

    public String getSubmitStatus() 
    {
        return submitStatus;
    }

    public void setSubmitContent(String submitContent) 
    {
        this.submitContent = submitContent;
    }

    public String getSubmitContent() 
    {
        return submitContent;
    }

    public void setSubmitComment(String submitComment) 
    {
        this.submitComment = submitComment;
    }

    public String getSubmitComment() 
    {
        return submitComment;
    }

    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }

    public void setRedFlowerCount(Long redFlowerCount) {
        this.redFlowerCount = redFlowerCount;
    }

    public Long getRedFlowerCount() {
        return redFlowerCount;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public Long getScore() {
        return score;
    }

    public void setSubmitDate(Date submitDate) 
    {
        this.submitDate = submitDate;
    }

    public Date getSubmitDate() 
    {
        return submitDate;
    }

    public void setSubmitDatetime(Date submitDatetime) 
    {
        this.submitDatetime = submitDatetime;
    }

    public Date getSubmitDatetime() 
    {
        return submitDatetime;
    }

    public Date getDueDate()
    {
        return dueDate;
    }

    public void setDueDate(Date dueDate)
    {
        this.dueDate = dueDate;
    }

    public String getListenDuration() {
        return listenDuration;
    }

    public void setListenDuration(String listenDuration) {
        this.listenDuration = listenDuration;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("submitId", getSubmitId())
            .append("studentNo", getStudentNo())
            .append("studentName", getStudentName())
            .append("classCode", getClassCode())
            .append("className", getClassName())
            .append("submitStatus", getSubmitStatus())
            .append("submitContent", getSubmitContent())
            .append("submitComment", getSubmitComment())
            .append("grade", getGrade())
            .append("score", getScore())
            .append("listenDuration", getListenDuration())
            .append("submitDate", getSubmitDate())
            .append("dueDate", getDueDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("submitDatetime", getSubmitDatetime())
            .toString();
    }
}
